﻿using System;
using System.Collections.Generic;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace car.Models
{
    public partial class Trip
    {
        public Trip()
        {
            Order = new HashSet<Order>();
        }

        public string Tid { get; set; }
        public string Vid { get; set; }
        public string Begin { get; set; }
        public string End { get; set; }
        public TimeSpan Time { get; set; }
        public int Tnum { get; set; }
        public float Tprice { get; set; }

        public virtual Vehicle V { get; set; }
        public virtual ICollection<Order> Order { get; set; }
    }
}
